[#ftl]
[@jsec.authPage perms=["blockmanager"]/]
[@frame.root]
  <!-- Default panel contents -->
  [@frame.title]
  	编辑参数
  [/@]
[@frame.body]
  	[#global block=(jdao.hql("from PageBlock where id=?",[jweb.pathName("id")])()[0])!{}]
    [@form.form id="block" action="${base}/admin/cms/basic/block/block_save.shtml" back="${base}/admin/cms/basic/block/block_list.shtml"]
		[@form.text id="code" label="编号" length=3 required=true/]
		[@form.text id="name" label="名称" length=3 required=true  /]
		[@form.select2 datas=jdao.hql("from PagesTemplate")() value="id" title="alias" id="pagesTemplate.id" label="页面模板" length=3 required=true  /]
		[@form.enums enumName="com.ustudy.entity.cms.PageBlock$BlockType" id="type" label="类型" length=3 required=true  /]
		[@form.editor id="body" label="内容" length=8 style="height:450px;"/]
	[/@]
[/@]

[/@]
